package itsm.isperp.module.service.problem.rule;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2015-7-27
 * @since 1.0
 * 
 */
public class Counter {

	Integer count = 1;

	List<String> list = new ArrayList<>();

	List<Map<String, Object>> mapList = new ArrayList<>();

	public List<Map<String, Object>> getMapList() {
		return mapList;
	}

	public void setMapList(List<Map<String, Object>> mapList) {
		this.mapList = mapList;
	}

	public void addToList(String v) {
		list.add(v);
	}

	public void addToMapList(Map<String, Object> v) {
		mapList.add(v);
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public List<String> getList() {
		return list;
	}

	public void setList(List<String> list) {
		this.list = list;
	}

	public void increase() {
		this.count = count + 1;
	}

}
